package aaa.test.unit;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;

public class JUnitDemo {

	@Test
	public void testMain() {
		fail("Not yet implemented");
	}

	@Test
	public void testTest() {
		System.out.println("@Test");// �???��??己�??�?�??????��??
	}

	@Test
	public void testAssert() {
		assertEquals("chenleixing", "chenlei");
	}

	@Test(timeout = 1)
	public void testTimeout() {
		System.out.println("�???��??�?");
	}

	@Before
	public void testBefore() {
		System.out.println("@Before");
	}

	@BeforeClass
	public static void testBeforeClass() {// �?须为????????��??
		System.out.println("@BeforeClass");
	}

	@After
	public void testAfter() {
		System.out.println("@After");
	}

	@AfterClass
	public static void testAfterClass() {// �?须为????????��??
		System.out.println("@AfterClass");
	}

	@Ignore
	public void testIgnore() {
		System.out.println("@Ignore");
	}

}
